package com.rabbitpre.material.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 音乐材料上传dto
 *
 * @author zhangren
 * @date 2022/11/14
 */
@ApiModel("音频素材上传响应对象")
public class MusicMaterialUploadDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 素材名
     */
    @ApiModelProperty("素材名")
    private String name;

    /**
     * 素材url
     */
    @ApiModelProperty("素材url")
    private String url;

    /**
     * 音频格式：mp3等
     */
    @ApiModelProperty("音频格式：mp3等")
    private String type;

    /**
     * 音频大小，单位byte
     */
    @ApiModelProperty("音频大小，单位byte")
    private Integer size;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ImageMaterialUploadDTO{");
        sb.append("name='").append(name).append('\'');
        sb.append(", url='").append(url).append('\'');
        sb.append(", type='").append(type).append('\'');
        sb.append(", size=").append(size);
        sb.append('}');
        return sb.toString();
    }
}
